package cn.hanyx.coder.design.pattern.structural.composite.demo01.dao;

import java.util.ArrayList;
import java.util.List;

/**
 * EmployeeRepo
 *
 * @author hanyx
 * @date 2020/08/21
 */
public class EmployeeRepo {
    public List<Long> getDepartmentEmployeeIds(long id) {
        List<Long> list = new ArrayList<>();
        for (int i = 1; i < 5; i++) {
            list.add(Long.valueOf(i));
        }
        return list;
    }

    public double getEmployeeSalary(Long employeeId) {
        return 1000.0;
    }
}
